package com.quanyan.place.entity.apiresp;

import com.quanyan.place.entity.TbBizPlacePayItem;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.bson.util.StringRangeSet;

/**
 * Created by Administrator on 2016/9/22.
 */
public class RespPlaceOrderMessage implements Serializable{
    private Integer id;
    private String placeOrderId;
    private String orderNo;
    private Integer placeId;
    private Integer categoryId;
    private Date date;
    private BigDecimal debit;
    private BigDecimal credit;
    private Date orderTime;
    private Date paymentTime;
    private Date refundTime;
    private Date endTime;
    private Byte payStatus;
    private Byte orderStatus;
    private Integer uid;
    private String customerName;
    private String mobile;
    private Byte sourceType;
    private Byte platform;
    private Date createTime;
    private Date updateTime;
    private String placeCode;
    private String placeName;
    private String payType;
    private List<TbBizPlacePayItem> tbBizPlacePayItems;
    private BigDecimal discountAmount;//优惠后的金额
    private BigDecimal takeOutAmount; // 优惠金额
    private Date orderStatusChangeDate;//订单状态更新日期
    private String createUserName;
    private Integer createUid;
    private List<Integer> payTypes;
    private Date salesDate;
    private Byte enableRefund;//包场是否允许退订 1/null:允许 0:不允许
    private String describle;
//    private Byte useType;
    private Byte[] useTypes;

	private Integer parentId;
    private Byte adminPayType;
    private Byte wxPayType;//微信公众号支付方式
    private Integer channel;//销售渠道
    private String expression;
    private Byte isMember;//是否会员 0：非会员  1：会员
    private Integer cityId;
    private String innerCardNo;
    private String adminPay;
    private String useType;
    private Integer isChangePay;//是否更改线上支付方式：0不改，1改
    private Integer[] adminPayTypes;
   
	/**
	 * @return the isChangePay
	 */
	public Integer getIsChangePay() {
		return isChangePay;
	}
	/**
	 * @param isChangePay the isChangePay to set
	 */
	public void setIsChangePay(Integer isChangePay) {
		this.isChangePay = isChangePay;
	}
	
	 /**
		 * @return the adminPay
		 */
		public String getAdminPay() {
			return adminPay;
		}
		/**
		 * @param adminPay the adminPay to set
		 */
		public void setAdminPay(String adminPay) {
			this.adminPay = adminPay;
		}
    /**
	 * @return the adminPayTypes
	 */
	public Integer[] getAdminPayTypes() {
		return adminPayTypes;
	}
	/**
	 * @param adminPayTypes the adminPayTypes to set
	 */
	public void setAdminPayTypes(Integer[] adminPayTypes) {
		this.adminPayTypes = adminPayTypes;
	}
	/**
	 * @return the useTypes
	 */
	public Byte[] getUseTypes() {
		return useTypes;
	}
	/**
	 * @param useTypes the useTypes to set
	 */
	public void setUseTypes(Byte[] useTypes) {
		this.useTypes = useTypes;
	}
    public String getInnerCardNo() {
        return innerCardNo;
    }
    public void setInnerCardNo(String innerCardNo) {
        this.innerCardNo = innerCardNo;
    }
    private String subjectCode;//如果优惠券则为优惠券码  如果会员卡 则为会员卡号
    private Integer ticketCount;
    private Integer businessMode;//场馆经营方式：1：自营 2：联营
    private Date consumeTime;
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPlaceOrderId() {
        return placeOrderId;
    }

    public void setPlaceOrderId(String placeOrderId) {
        this.placeOrderId = placeOrderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public BigDecimal getDebit() {
        return debit;
    }

    public void setDebit(BigDecimal debit) {
        this.debit = debit;
    }

    public BigDecimal getCredit() {
        return credit;
    }

    public void setCredit(BigDecimal credit) {
        this.credit = credit;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Byte getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Byte payStatus) {
        this.payStatus = payStatus;
    }

    public Byte getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Byte getSourceType() {
        return sourceType;
    }

    public void setSourceType(Byte sourceType) {
        this.sourceType = sourceType;
    }

    public Byte getPlatform() {
        return platform;
    }

    public void setPlatform(Byte platform) {
        this.platform = platform;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getPlaceCode() {
        return placeCode;
    }

    public void setPlaceCode(String placeCode) {
        this.placeCode = placeCode;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public List<TbBizPlacePayItem> getTbBizPlacePayItems() {
        return tbBizPlacePayItems;
    }

    public void setTbBizPlacePayItems(List<TbBizPlacePayItem> tbBizPlacePayItems) {
        this.tbBizPlacePayItems = tbBizPlacePayItems;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getTakeOutAmount() {
        return takeOutAmount;
    }

    public void setTakeOutAmount(BigDecimal takeOutAmount) {
        this.takeOutAmount = takeOutAmount;
    }

    public Date getOrderStatusChangeDate() {
        return orderStatusChangeDate;
    }

    public void setOrderStatusChangeDate(Date orderStatusChangeDate) {
        this.orderStatusChangeDate = orderStatusChangeDate;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getSalesDate() {
        return salesDate;
    }

    public void setSalesDate(Date salesDate) {
        this.salesDate = salesDate;
    }

    public Integer getCreateUid() {
        return createUid;
    }

    public void setCreateUid(Integer createUid) {
        this.createUid = createUid;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public List<Integer> getPayTypes() {
        return payTypes;
    }

    public void setPayTypes(List<Integer> payTypes) {
        this.payTypes = payTypes;
    }

    public Byte getEnableRefund() {
        return enableRefund;
    }

    public void setEnableRefund(Byte enableRefund) {
        this.enableRefund = enableRefund;
    }

    public String getDescrible() {
        return describle;
    }

    public void setDescrible(String describle) {
        this.describle = describle;
    }

    public String getUseType() {
        return useType;
    }

    public void setUseType(String useType) {
        this.useType = useType;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Byte getAdminPayType() {
        return adminPayType;
    }

    public void setAdminPayType(Byte adminPayType) {
        this.adminPayType = adminPayType;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public Byte getWxPayType() {
        return wxPayType;
    }

    public void setWxPayType(Byte wxPayType) {
        this.wxPayType = wxPayType;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public Byte getIsMember() {
        return isMember;
    }

    public void setIsMember(Byte isMember) {
        this.isMember = isMember;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getSubjectCode() {
        return subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public Integer getTicketCount() {
        return ticketCount;
    }

    public void setTicketCount(Integer ticketCount) {
        this.ticketCount = ticketCount;
    }

    public Integer getBusinessMode() {
        return businessMode;
    }

    public void setBusinessMode(Integer businessMode) {
        this.businessMode = businessMode;
    }

    public Date getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(Date consumeTime) {
        this.consumeTime = consumeTime;
    }
}
